<include file="Article:leftmenu" />
<div class="content-right fl">

	<table class="wxtables mgt10">
		<colgroup>
			<col width="5%">
			<col width="10%">

			<col width="10%">
			<col width="10%">
			<col width="15%">
			<col width="15%">
			<col width="10%">
			<col width="10%">
			<col width="10%">
			<col width="5%">
		</colgroup>
		<thead>

			<tr class="po_list">
				<td>编号<span></span></td>
				<td style="text-align:left;">标题<span></span></td>

				<td>头像<span></span></td>
				<td style="text-align:left;">客户信息<span></span></td>

				<td style="text-align:left;">留言内容<span></span></td>
				
				<td style="text-align:left;">手机信息<span></span></td>
				<td style="text-align:left;">网络信息<span></span></td>
				<td style="text-align:left;">推荐人<span></span></td>
				<td>留言时间<span></span></td>
				
				<td>操作<span></span></td>
			</tr>
		</thead>
		<tbody>
		<?php foreach($guestbook as $k=>$v){?>
			<tr>
				<td><?php echo $v['guestbook_id'];?></td>
				<td style="text-align:left;"><?php echo $v['article_title'];?></td>

				<td><img src="<?php echo $v['headimgurl'];?>" width="60"><span></span></td>
				
				<td style="text-align:left;">
				
				<table >
				
				<tr><td style="text-align:left;"><?php echo $v['nickname'];?>(ID:<?php echo $v['uid'];?>)</td></tr>
				<tr><td style="text-align:left;"><?php echo $v['realname'];?></td></tr>
				<tr><td style="text-align:left;"><?php echo $v['mobile'];?></td></tr>
				</table>

			</td>

				<td style="text-align:left;"><?php echo $v['content'];?><span></span></td>
				
				<td style="text-align:left;">
				
				<table >
				
				<tr><td style="text-align:left;">归属地: <?php echo $v['mobile_location'];?></td></tr>
				<tr><td style="text-align:left;">运营商: <?php echo $v['mobile_com'];?></td></tr>
				<tr><td style="text-align:left;">品牌: <?php echo $v['mobile_brand'];?></td></tr>
				<tr><td style="text-align:left;">系统: <?php echo ($v['mobile_os']=='android')?"安卓":$v['mobile_os'];?></td></tr>
				
				</table>
				
				<td style="text-align:left;">
				<table >
				
				<tr><td style="text-align:left;">归属地: <?php echo $v['ip_location'];?></td></tr>
				<tr><td style="text-align:left;">网络: <?php echo $v['network'];?></td></tr>

				</table>
				
				</td>
				
				<td style="text-align:left;"><?php echo $v['refer_nickname'];?><?php echo $v['refer_uid'] ? "(ID:".$v['refer_uid'].")" : "";?><span></span></td>
				<td><?php echo $v['create_time'];?><span></span></td>
				
				
				<td>
				<!-- 
<a href="/admin/article/edittype/?atype_id=<?php echo $v['atype_id'];?>" class="btn width" title="修改">编辑</a>

<a href="javascript:del(<?php echo $v['atype_id'];?>);" class="btn j-del" title="删除" data-id="2416530">删除</a>
-->
</td>
			  

				
			</tr>
		<?php } ?>
		</tbody>
	</table>
	
	
	<div class="tables-btmctrl clearfix">
           <div class="mgt10">
               <div class="paginate">
                  {$page}
               </div>
           </div>
	</div>
	
	
	
</div>

<script>
function del(id){

	//询问框
	layer.confirm('你确定要删除吗？', {
	    btn: ['确定','我再想想'] //按钮
	}, function(){
		var url = "/admin/article/deltype/?id="+id;
		AjaxUrl(url);
	}, function(){


	});
	
	
	
}

</script>